home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / misc / FetchRefs1.3.lha / FetchRefs1.3 / Source.lha / Source / GenerateIndex / protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-02  |  2.7 KB  |  73 lines

  1.  
  2. /* GUI.c */
  3. void About ( void );
  4. void OpenRefWindow ( void );
  5. void OpenScanStatWindow ( void );
  6. void CloseScanStatWindow ( void );
  7. void GiveHelp ( LONG id , struct Screen *scr );
  8. void LockGUI ( void );
  9. void UnlockGUI ( void );
  10. void AttachMainList ( struct List *newlist );
  11. void DetachMainList ( void );
  12. void AttachRefList ( void );
  13. void DetachRefList ( void );
  14. void DeleteSelectedFile ( void );
  15. void DeleteSelectedReference ( void );
  16. void RescanAllFiles ( void );
  17. void UpdateMain ( void );
  18. void UpdateRef ( void );
  19. void UpdateOptions ( void );
  20. void UpdateOptionsGhost ( void );
  21. void UpdateSettingsStruct ( void );
  22. void HandleGUI ( void );
  23. void HandleListViewClick ( struct TR_Message *m );
  24. void HandleMenu ( struct TR_Message *m );
  25. void HandleMainIDCMP ( struct TR_Message *m );
  26. void HandleRefIDCMP ( struct TR_Message *m );
  27. void HandleOptionsIDCMP ( struct TR_Message *m );
  28. void HandleScanStatIDCMP ( struct TR_Message *m );
  29. ULONG NumOfNodes ( struct List *l );
  30. struct FileEntry *SelectedMain ( void );
  31. struct RefsEntry *SelectedRef ( void );
  32. void GoGUI ( void );
  33. void CloseGUI ( void );
  34.  
  35. /* Lists.c */
  36. void StartTimer ( void );
  37. void StopTimer ( void );
  38. void LoadData ( STRPTR name );
  39. void SaveData ( STRPTR name );
  40. void IndexFileList ( STRPTR path , struct rtFileList *lst );
  41. void IndexRecursive ( STRPTR path , STRPTR dir );
  42. void IndexFile ( STRPTR dir , STRPTR filename );
  43. void StartScanning ( void );
  44. void StopScanning ( BOOL force );
  45. LONG FileType ( STRPTR buf , LONG bufsize );
  46. LONG FileLength ( BPTR lock );
  47. STRPTR FindKeyword ( STRPTR buf , STRPTR keyword , LONG size );
  48. STRPTR FullName ( STRPTR path );
  49. UBYTE *JoinPath ( STRPTR dir , STRPTR name );
  50. void ADocToList ( struct FileEntry *list , STRPTR buf , STRPTR end );
  51. void CToList ( struct FileEntry *list , STRPTR buf , STRPTR end );
  52. void EToList ( struct FileEntry *list , STRPTR buf , STRPTR end );
  53. void AsmToList ( struct FileEntry *list , STRPTR buf , STRPTR end );
  54. STRPTR FindStructUnion ( STRPTR ptr , STRPTR end , LONG *l );
  55. STRPTR PickName ( STRPTR buf , STRPTR ptr );
  56. BOOL IsAlphaNum ( UBYTE c );
  57. BOOL SortCompareFunc ( struct FileEntry *a , struct FileEntry *b , ULONG data );
  58. struct FileEntry *AddFileToList ( STRPTR name );
  59. struct RefsEntry *AddRefToList ( struct FileEntry *fileentry , LONG offset , LONG length , WORD gotoline , STRPTR name );
  60. struct FileEntry *IsFileInList ( BPTR newlock , STRPTR filepart );
  61. void FreeFile ( struct FileEntry *f );
  62. void FreeRef ( struct RefsEntry *r );
  63. void InitializeFileList ( void );
  64. void FreeFileList ( void );
  65.  
  66. /* Main.c */
  67. __stkargs LONG _main ( LONG argc , STRPTR argv );
  68. void CloseAll ( LONG error , ...);
  69. void LoadSettings ( STRPTR file );
  70. void SaveSettings ( STRPTR file );
  71. void PostMessage ( STRPTR fmt , ...);
  72. void chkabort ( void );
  73.